package com.by.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface ValidateCodeMapper {
    void addValidateCode(@Param("telephone") String telephone,@Param("validateCode") Integer validateCode,@Param("date") Date date);

    String getValidateCode(@Param("telephone") String telephone, @Param("validateCode") String validateCode);

    int isValiddateCodeTimeout(@Param("telephone") String telephone, @Param("validateCode") String validateCode);
}
